IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryPager<T> Class > MoveToPageAsync Method : MoveToPageAsync(Int32,CancellationToken) Method |
'Declaration
Public Overloads Function MoveToPageAsync( _ ByVal pageIndex As Integer, _ ByVal cancellationToken As CancellationToken _ ) As Task(Of Boolean)
'Usage
Dim instance As EntityQueryPager(Of T) Dim pageIndex As Integer Dim cancellationToken As CancellationToken Dim value As Task(Of Boolean) value = instance.MoveToPageAsync(pageIndex, cancellationToken)
public Task<bool> MoveToPageAsync( int pageIndex, CancellationToken cancellationToken )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2